package mest.dao.hank;

import mest.entity.plan_productjob_saleout_record;
import mest.entity.plan_productjob_takematerial_record;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface plan_productjob_saleout_recordMapper {
    int deleteByPrimaryKey(Integer id,@Param("theirDb")String theirDb);

    int insert(plan_productjob_saleout_record record,@Param("theirDb")String theirDb);

    int insertSelective(plan_productjob_saleout_record record ,@Param("theirDb")String theirDb);

    plan_productjob_saleout_record selectByPrimaryKey(Integer id,@Param("theirDb")String theirDb);

    int updateByPrimaryKeySelective(plan_productjob_saleout_record record,@Param("theirDb")String theirDb);

    int updateByPrimaryKey(plan_productjob_saleout_record record,@Param("theirDb")String theirDb);

    int intsertList(@Param("plan_productjob_saleout_recordlist")
                            List<plan_productjob_saleout_record> record ,@Param("theirDb")String theirDb);
    
    List<plan_productjob_saleout_record> selectAll(Map<String, Object> map);
    
    int count(Map<String, Object> map);

	int intsertWarehouseSaleout(Map<String, Object> map);

	int getWarehouseSaleoutNumber(Map<String, Object> map);
	
	int updateWarehouseSaleoutNumber(Map<String, Object> map);

	int insertWarehousePJSaleout(Map<String, Object> map);
    
}